#pragma once
#include <map>
#include <string>

class Commodity
{
private:
	std::string name; 
	float price_current;
	float price_global;
	float swing_max;
	float swing_min;
	int jackpot_chance;

public:
	Commodity();
	Commodity(std::string, float);
	float get_price() {	return price_current; };
	std::string get_name() { return name; };
	void init_bounds();
	void generate_price();

	float random_float(float, float);
	~Commodity();
};

